package com.xiyue.leaspring.main;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@ContextConfiguration(locations = {"classpath:spring/spring-base2.xml"})//资源定位
@RunWith(SpringJUnit4ClassRunner.class)//需要使用的测试工具
public class Main2 {

	@Test
	public void test() {
		while (true) {}
	}

}
